package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NursingProjectMapper {
    Page<NursingProject> getByPage(String name, Integer status);

    void add(NursingProject bean);

    NursingProject getById(Long id);

    void update(NursingProject nursingProject);
    @Delete("delete from nursing_project where id=#{id}")
    void delete();

}
